# -*- coding: utf-8 -*-
import oss2
import sys

yourObjectName = sys.argv[1]  # oss 目的文件
yourLocalFile = sys.argv[2]  # 本地文件
auth = oss2.Auth('LTAI5tKb2FegAPJWDhBTn2Et', '0VhOChIYYrRlPRkEuUi1FQPBvG3A4i')
bucket = oss2.Bucket(auth, 'oss-cn-shanghai-internal.aliyuncs.com', 'pro-jms-sds')
bucket.put_object_from_file(yourObjectName, yourLocalFile)